package com.yunxin.core.customer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 客户匹配产品下拉表
 * @TableName customer_matching_product
 */
@TableName(value ="customer_matching_product")
@Data
public class CustomerMatchingProduct implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 企微客户id
     */
    private Long wechatCustomerId;

    /**
     * 系统客户id
     */
    private Long customerId;

    /**
     * 匹配产品id
     */
    private Long matchingProductId;

    @TableField(exist = false)
    private String matchingProductName;

    /**
     * 申请数量
     */
    private Integer count;

    /**
     * -1.失败 0.申请中 1成功
     */
    private Integer status;

    /**
     * 删除状态 0.正常 1删除
     */
    private Integer isDel;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date editTime;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}